﻿         function showDialog(id) {
             $('#' + id).dialog('open');
             RefreshTheme();
        }

        function closeDialog(id) {
            $('#' + id).dialog('close');
            RefreshTheme();
        }
        
        function RefreshTheme() { 
           $('input[type=submit], button').button();
        }
         